#include "manager.h"


Manager::Manager(int id, string name, int dID)
{
	this->m_ID = id;
	this->m_DeptID = dID;
	this->m_Name = name;
}
void Manager::showInfo()
{
	cout << "职工编号: " << this->m_ID <<
		"\t职工姓名: " << this->m_Name <<
		"\t岗位: " << this->getDeptName() <<
		"\t岗位职责: 完成老板交给的任务，并下发任务给普通员工。" << endl;
}

string Manager::getDeptName()
{
	return string("经理");
}
